﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

namespace Chamados.Web.Controles {

    public partial class Default : System.Web.UI.MasterPage {

        protected void Page_Load(object sender, EventArgs e) {
            mnuMenu.Visible = HttpContext.Current.User.Identity.IsAuthenticated;
        }

        protected void lkbLogout_Click(object sender, EventArgs e) {
            FormsAuthentication.SignOut();
            FormsAuthentication.RedirectToLoginPage();
        }
    }
}